<?php
/**
 * HUserDashboardProfileWidget
 * 
 * @author huytbt
 * @date 2011-06-03
 * @version 1.0
 */
class HUserDashboardProfileWidget extends HWidget
{
	public $user = null;

	/**
	 * run - This method is used run Widget
	 */
	public function run()
	{
		// Register assets
		$baseScriptUrl = Yii::app()->assetManager->publish(dirname(__FILE__) . '/../assets');
		
		$this->render('h-user-dashboard-profile', array(
			'user' => $this->user,
			'baseScriptUrl' => $baseScriptUrl,
		));
	}
}